package com.production.CoursePlatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;

@Data
@TableName("student")
public class Student {
    @Getter
    @TableId(type = IdType.INPUT)
    @TableField("s_id")
    private String sID;
    @Getter
    @TableField("s_name")
    private String sName;
    @Getter
    @TableField("s_gender")
    private String sGender;
    @Getter
    @TableField("s_grade")
    private String sGrade;
    @Getter
    @TableField("s_class")
    private String sClass;

    public String getsID() {
        return sID;
    }

    public String getsName() {
        return sName;
    }

    public String getsGender() {
        return sGender;
    }

    public String getsGrade() {
        return sGrade;
    }

    public String getsClass() {
        return sClass;
    }
}
